package com.eliota.service.impl;

import com.eliota.controller.dto.DeviceDto;
import com.eliota.mapper.DeviceStatusCountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author M.G
 * @create 2023-04-05 10:48
 * @date 2023/4/5 10:48
 */

@Service
public class DeviceStatusCountService implements DeviceStatusCountMapper {

    @Resource
    public DeviceStatusCountMapper deviceStatusCountMapper;
    @Override
    public List<DeviceDto> getDeviceStatusCount() {
        return deviceStatusCountMapper.getDeviceStatusCount();
    }
}
